how to find duplicate elements in arraylist in java 8